package org.secangkirkopipanas.gxtcore.server.service;

import java.util.List;

import org.secangkirkopipanas.gxtcore.common.exception.DataNotFoundException;
import org.secangkirkopipanas.gxtcore.domain.ISystemUser;
import org.secangkirkopipanas.gxtcore.server.domain.SystemUser;

public interface ISystemUserService {

	public static final String NAME = "systemUserService";

	public ISystemUser get(String username);

	public ISystemUser get(String username, String pwdDigest);

	public List<SystemUser> getForList();

	public void add(SystemUser systemUser);

	public void delete(SystemUser systemUser) throws DataNotFoundException;

	public void delete(String username) throws DataNotFoundException;

	public int getTotalCount();

}